home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / utility / dvimsw24.zip / DVIMSWIN.DOC next >
Text File  |  1991-02-19  |  7KB  |  138 lines

  1.             DVIMSWIN - TeX .dvi previewer for Microsoft Windows     
  2.  
  3. Windows 3.0 alert! The older version of Dvimswin failed under Windows
  4. 3.0. The new version provided here does work, in all the mode of Windows.
  5. You CAN run it in any of the 3 Windows 3.0 modes. It still runs
  6. in Windows 2.11. This is version 2.4, with support for fonts
  7. based on the 118 and 180 d.p.i series and also special fonts at 75, 90, 105,
  8. and 135 d.p.i.
  9.  
  10. ***** The RIGHT mouse button is used by this program. See below.******
  11.  
  12.  
  13. This is release 2.40 of my TeX previewer for Microsoft
  14. Windows, dvimswin. You need the file dvimswin.exe, the file texfonts.sub,
  15. and fonts in the .pk format. The fonts must be stored in subdirectories of
  16. one directory, all the fonts at 100 d.p.i. being in a directory
  17. like c:\texfonts\100, the ones for 110 being in c:\texfonts\110, etc.
  18. The program will ask for the name of this font directory. In this case
  19. you would answer "c:\texfonts\". The program simply appends the d.p.i. value
  20. to the string you gave it. The fonts are the same as those used
  21. by my previewer dvivga, and are available from wsmr-simtel20.army.mil
  22. by anonymous ftp. They are in the files "dvivga2.arc" through "dvivga8.arc".
  23. You probably want to start with dvivga5.arc, which contains the 100 d.p.i.
  24. fonts, and then get dvivga3.arc, which contains the 110 d.p.i. fonts
  25. used a lot by Latex. Dvimswin.exe goes anywhere you wish, though most people
  26. will put it in the Windows directory.
  27.  
  28. You will also need **if you are using Windows versions earlier than 3.0**,
  29. the file win87em.exe. This should be put in you default Windows directory.
  30. If you are using Windows 3.0 this SHOULD not be needed. If, however,
  31. you get a "file not found" sort of message, then DO NOT use the win87em.exe
  32. provided in this archive. Instead COPY the file win87em.dll from the
  33. \system directory under your Windows 3.0 directory to a file named
  34. win87em.exe in the main windows directory. This is a rather bizarre affair -
  35. having one copy named win87em.exe in the main Windows directory, and
  36. a copy of the same file named win87em.dll in the \system directory,
  37. but it seems to work.
  38.  
  39.  
  40. If you put a line such as
  41.  
  42. dvi=dvimswin.exe ^.dvi
  43.  
  44. in the [extensions] section of your win.ini file, you can start up
  45. dvimswin by double clicking on a .dvi file. You can also start up
  46. dvimswin by typing to the ordinary MS-DOS prompt
  47.  
  48. win dvimswin filename.dvi
  49.  
  50. (or win386 instead of just win if you use Windows 386.)
  51.  
  52.  
  53. Dvimswin allows you to use either a mouse or the keyboard to move
  54. around in your dvi file. Most commands are obvious, except for the
  55. Options. Resetmargins makes the current position of the text on the
  56. current screen permanent, so future pages or dvi files will be placed the
  57. same way. You **should always** get the first part of your first page
  58. positioned properly then use this command. SaveParameters saves the current
  59. margins and d.p.i. value in your win.ini file, so that the next time you
  60. start dvimswin, they will be the same. The other options
  61. cause various warning messages to appear on the screen and are
  62. helpful for debugging your file layouts. If your first try at viewing
  63. a page fails, try turning on all of these. (Warnings about
  64. checksum errors are almost always harmless.) The first thing dvimswin
  65. does when opening a .dvi file is to get info on all the fonts used
  66. in a document, and this is sluggish. If you want to stop it, you
  67. can't use the mouse, as it is disabled by the presence of the hourglass
  68. icon. But the keyboard still works, so you can stop it by typing
  69. <alt-f> then c (for Close).
  70.  
  71. The only thing non-obvious about the mouse interface is that the
  72. scroll bar thumb only moves about on the current, normal size, page.
  73. The actual range of the controls is greater. The thumb never reaches
  74. the end of its travel to allow you to double-click on the bar part at
  75. all positions.  To move to a different page you click the RIGHT mouse
  76. in the vertical scroll bar area. The top half goes back a page,
  77. the bottom jalf goes forward. This is independent of the thumb position.
  78.  
  79. Please note that 100 d.p.i. is only the default text size. If you have a
  80. high res screen you should go to a bigger size before you open a file.
  81. At sizes below 92 d.p.i. most fonts are not really present in the
  82. distributed ones, and are substituted for. This results in slightly
  83. ragged margins and sometimes overlapping letters. If you use a smaller
  84. size often, be sure to put a full set of the fonts you use for it
  85. in the font substitution file.
  86.  
  87. There exist displays for the PC that actually have 300 dots per inch,
  88. and are big enough to display a whole page. If they come with Windows
  89. drivers, the 300 d.p.i. option appears on the size menu for your
  90. edification. In any case, it can be useful even on ordinary displays.
  91.  
  92. If you have the memory, you should try using a disk cache program
  93. like smartdrive or a ram-disk for your fonts. These utilities can
  94. dramatically speed up many programs, including this one.
  95.    
  96. You can view more than one .dvi file at once by starting more than
  97. one copy of dvimswin, if you have the memory.
  98.  
  99. The font substitution file is useful for using small d.p.i. values.
  100. You can peruse the provided one to see how it uses cmr8 at a larger
  101. d.p.i. value for cmr10 at a larger one, for example. You can also put 
  102. lines like 
  103.  
  104. cmssbx10 -> cmbx10
  105. Times-Roman -> cmr10
  106. Helvetica -> cmss10
  107.  
  108. to substitute whole font families. The size specific ones should
  109. be put first in the file, as the first match is used, except for
  110. fonts that you know you don't have ANY size in - such as Times-Roman.
  111.  
  112. Fonts in the 118 d.p.i. series will  be used efficiently if you set the
  113. default size at 121 d.p.i. If you have lots of fonts in only that
  114. series, you will be pretty much stuck to 121 d.p.i. Likewise, set to 174
  115. for using the 180 d.p.i. series.
  116.  
  117. This version of the program supports fonts containing 256 characters.
  118.  
  119. Doug McDonald (mcdonald@aries.cso.uiuc.edu   aries is 128.174.90.55)  
  120.  
  121. Copyright Notice:
  122.  
  123. The program dvimswin is copyright 1989, 1990, and 1991 by J.D. McDonald.
  124. You are allowd to use it for your personal or corporate use. It may
  125. be freely distributed so long as you do not charge for it
  126. and do not claim a "compilation copyright". This means
  127. that it may NOT be distributed by a commercial service such as Compuserve,
  128. nor by an organization that charges for disks. It may be placed
  129. on free bulletin boards, anonymous ftp sites, Bitnet listservers, etc,
  130. so long as they are completely free.
  131.  
  132.  
  133. The file win87em.exe is distributed in the Microsoft Windows
  134. SDK product. It is copyright by Microsoft. However they say that
  135. "you [presumably the purchaser of the SDK] may distribute it as you 
  136. see fit". I take that to mean that I may distribute it with dvimswin,
  137. which is useless without it.
  138.